<table  class="list" border="1">
	<tr>
		<th rowspan="1">{$lang.factory_name}</th> 
		{if $company_currency_count>1}
		<th rowspan="1">{$lang.currency_no}</th>
		{/if}
		{if 'instock.add'|C==2}
		<th rowspan="1">{$lang.on_road_money}</th> 
		{/if}
		<th rowspan="1">{$lang.money}</th> 
	</tr> 
	{tr from=$list.list }
		{td merge='comp_id'  class='t_left'}
			{$item.factory_name}
		{/td}
		{if $company_currency_count>1}
		{td }
			{$item.currency_no}
		{/td} 
		{/if}
		{if 'instock.add'|C==2}
		{td class='t_right'}  
			{if $item.total_on_road>0}{$item.dml_total_on_road}{/if} 
		{/td}
		{/if}
		{td class='t_right'} 
			<a href="javascript:;" onclick="addTab('{$item.detail_url}','{$lang.view_detail}',1); ">
			{$item.dml_total_need_paid}
			</a>
		{/td}
	{/tr}
	<tr class="red">
		{if $company_currency_count>1}
		<td>&nbsp;</td>
		{/if}
		<td class="t_right">{$lang.page_total}</td>
		{if 'instock.add'|C==2}
		<td class='t_right'>{$list.total.total_currency_info_1}</td>
		{/if}
		<td class='t_right'>{$list.total.total_currency_info_0}</td>
	</tr>
	<tr class="red">
		{if $company_currency_count>1}
		<td>&nbsp;</td>
		{/if}
		<td class="t_right">{$lang.total}</td>
		{if 'instock.add'|C==2}
		<td class='t_right'>{$list.page_total.total.total_currency_info_1}</td>
		{/if}
		<td class='t_right'>{$list.page_total.total.total_currency_info_0}</td>
	</tr>
</table>
<br><br>